package com.whalehearing.tingyou.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author: shensh
 * @Desc:
 * @create: 2025-04-21 10:09
 **/
@ApiModel(value = "SpuCollectDTO", description = "产品收藏DTO")
@Data
public class SpuCollectDTO {

    @ApiModelProperty(value = "产品ID")
    @NotNull(message = "产品ID不能为空")
    private Long spuId;

    @ApiModelProperty(value = "用户ID")
    @NotNull(message = "用户ID不能为空")
    private Long uid;
}

